package com.sakura.mall.coupon.spuBounds.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.coupon.spuBounds.domain.entity.SpuBoundsEntity;
import com.sakura.mall.coupon.spuBounds.domain.request.AddSpuBoundsRequest;
import com.sakura.mall.coupon.spuBounds.domain.request.UpdateSpuBoundsRequest;
import com.sakura.mall.coupon.spuBounds.domain.request.SpuBoundsPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.coupon.spuBounds.domain.vo.SpuBoundsVo;

/**
 * 商品spu积分设置 service
 *
 * @author sakura
 */
public interface SpuBoundsService extends IService<SpuBoundsEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<SpuBoundsVo> queryPage(SpuBoundsPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddSpuBoundsRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateSpuBoundsRequest request);
}
